package com.eaia.service.impl;

import com.eaia.mapper.TbContentMapper;
import com.eaia.model.TbContent;
import com.eaia.service.TbContentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @description:
 * @author: hezhiqin
 * @time: 2020/6/3 12:28
 */
@Service
public class TbContentServiceImpl implements TbContentService {

    @Autowired
    TbContentMapper tbContentMapper ;
    @Override
    public List<TbContent> contents() {

        return tbContentMapper.selectAll();

    }
}
